package org.saasplay.core;

import org.saasplay.resource.FeedBack;
import org.saasplay.resource.ResourceData;
import org.saasplay.resource.Tickets;

/**
 * 服务处理流程
 * <p>
 * 实现此类的
 *
 * @author cuishifeng
 */
public interface ServiceHandler {

    /**
     * 获取服务处理响应结果
     *
     * @param tickets
     * @param resource
     * @return
     * @throws Exception
     */
    FeedBack getFeedBack(Tickets tickets, ResourceData resource) throws Exception;
}
